export namespace User{
    export interface Row{
        id: string;
        userName: string;
        nickName: string;
        password?: string;
        email?: string;
        phonenumber?: string;
        sex?: string;
        avatar?: string;
        // 用户类型：0代表普通用户，1代表管理员
        type?: string;
        // 账号状态（0正常 1停用
        status?: string;
    }
    export interface Query{
        userName: string;
        nickName?: string;
        email?: string;
        phonenumber?: string;
        sex?: string;
        type?: string;
        // 账号状态（0正常 1停用
        status?: string;
    }
    export interface Form{
        id?: string;
        userName: string;
        nickName: string;
        password?: string;
        email?: string;
        phonenumber?: string;
        sex?: string;
        avatar?: string;
        // 用户类型：0代表普通用户，1代表管理员
        type?: string;
        // 账号状态（0正常 1停用
        status?: string;
    }
   export interface UserRole {
        roleId: string;
        userId: string;
      }
    export  interface FindPwd{
        code:string
        password:string
        email:string
      }
      export type RoleUserQuery = Query &{
        roleId?:string
        excludeRoleId?:string
      } 
}